From 0d6b9ab1c5dd34fc4a18511d8652504c35c49692 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 17 May 2019 14:38:38 +0200 Subject: [PATCH] x86: patch ctxt_switch_masking() indirect call to direct one Signed-off-by: Jan Beulich Reviewed-by: Wei Liu Reviewed-by: Andrew Cooper --- xen/arch/x86/cpu/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c index fa8548ecdc..43cfdc8155 100644 --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -182,7 +182,7 @@ void ctxt_switch_levelling(const struct vcpu *next) } if (ctxt_switch_masking) - ctxt_switch_masking(next); + alternative_vcall(ctxt_switch_masking, next); } bool_t opt_cpu_info; -- 2.30.2